/*
 * @Author: fanzhiwei
 * @Date: 2024-08-16 09:32:51
 * @LastEditors: fanzhiwei
 * @LastEditTime: 2024-08-16 10:43:04
 * @FilePath: /common-web-ui/src/plugins/elementUi.js
 * @Description: element-ui 配置、注册
 */

import Vue from "vue";
import Element from "element-ui";
import { $message } from "@/utils/message";
Element.Dialog.props.closeOnClickModal.default = false;
Element.Dialog.props.appendToBody.default = true;
Element.TableColumn.props.showOverflowTooltip = {
  type: Boolean,
  default: true,
};
Vue.use(Element, { size: "small" });
window.ElementUI = Element; // 把库挂上去，部分全局类方法需要用到 element-ui
window.$message = $message;
import "../assets/styles/element-variables.scss";
